package com.example.dota2draftsimulator;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;

public class MainActivity extends Activity {

	private Button startButton;
	private Button heroesDBButton;
	private Button helpButton;
	private Button exitButton;
			
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
		Typeface type = Typeface.createFromAsset(getAssets(),"OPTIMUSPRINCEPSSEMIBOLD.TTF"); 
		   
		startButton = (Button) findViewById(R.id.start_button);
		startButton.setTypeface(type); 
		startButton.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent homeIntent = new Intent(MainActivity.this, SettingActivity.class);
				startActivity(homeIntent);
				finish();
			}
		});
		
		heroesDBButton = (Button) findViewById(R.id.heroes_db_button);
		heroesDBButton.setTypeface(type); 
		helpButton = (Button) findViewById(R.id.help_button);
		helpButton.setTypeface(type); 
		exitButton = (Button) findViewById(R.id.exit_button);
		exitButton.setTypeface(type); 
	}

}